<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <style>
        form {
            margin: 28px 0 0px 0px;
            width:630px;
        }
        form input {
            border:#474747 1px solid;
            background:#2f2f2f;
            font-size:12px;
            font-family:Arial, Helvetica, sans-serif;
            color:#fff;
            padding:4px 10px 5px 10px;
            outline: medium none;
            width:256px;
            height:17px;
            float:left;
        }
        .input2{    
            height:28px;
            width: 156px;
        }
        form label {
            position:relative;
            display: block;
            min-height:34px;
            overflow:hidden;
        }
        .btns {
            width:156px;
            text-align:right;
            overflow:hidden;
            border-top:#2e2e2e 1px solid;
            margin-left:90px;
            margin-top:14px;
            padding-top:10px;
        }
        form label strong {
            float:left;
            text-align:right;
            display:block;
            padding-top:4px;
            line-height:18px;
            width:120px;
            font-weight:normal;
            margin-right:12px;
            white-space:nowrap;
        }
        .correction{
            border:none;
            background:none;
            width:500px;
        }
        .correction2{
            width:30px;
        }
    </style>
</head>
<div class="grid_4 prefix_1"><br></div>
<div class="grid_11 prefix_1">
<div style="color:red"><?php echo $error; ?></div>
    <h2 class="h2 top-3">Registro</h2>
    <!--Formulario de registro de usuarios -->
    <?php echo form_open('user/register'); ?>
    <fieldset>
        <label><strong>Nombre de usuario:</strong>
            <input type="text" id="username" name="username" required>
            <strong class="clear"></strong></label>
        <label><strong>Contraseña:</strong>
            <input type="password" name="password" id="password" required>
            <strong class="clear"></strong></label>
        <label><strong>Email:</strong>
            <input type="text" name="email" id="email" required>
            <strong class="clear"></strong></label>
        <label><strong>DNI:</strong>
            <input type="text" name="dni" id="dni" required>
            <strong class="clear"></strong></label>
        <label><strong>Fichero Ingreso Cuota:</strong>
            <input class="correction" type="file" name="archivoCuota" id="archivoCuota" reguired>
            <strong class="clear"></strong></label>
        <label><strong>Federado:</strong>
            <input class="correction2" type="radio" name="federado" value="1" id="federado_V">Sí<br>            
            <input class="correction2" type="radio" name="federado" value="0" id="federado_F">No<br> 
            <strong class="clear"></strong></label>
        <label><strong>Fichero ingreso de la Federativa:</strong>
            <input class="correction" type="file" name="archivoFede" id="archivoFede" required>
            <strong class="clear"></strong></label>
    </fieldset>
    <div class="btns"><input class="input2" type="submit" value="Enviar"></div>
</form>
</div>
<div class="grid_24 prefix_1"><br><br><br><br></div>
<div class="clear"></div>